package com.heu.blood.security.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heu.blood.common.utils.PageUtils;
import com.heu.blood.security.entity.UserRoleEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lrz
 * @email lrz@heu.com
 * @date 2023-08-16 02:58:36
 */
public interface UserRoleService extends IService<UserRoleEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 通过userId获取对应的roleId
     * @param userId
     * @return
     */
    List<Long> getRoleByUser(Long userId);
}

